package com.example.decorator.navigationbar.nav;

import java.util.ArrayList;
import java.util.List;

/**
 * 未登录的导航条
 */
public class BaseNav implements INav {

    private List<Menu> menus;

    public BaseNav() {
        menus = new ArrayList<>();
        menus.add(new Menu(1, "问答"));
        menus.add(new Menu(2, "文章"));
        menus.add(new Menu(6, "精品课"));
        menus.add(new Menu(7, "冒泡"));
        menus.add(new Menu(8, "商城"));
    }


    @Override
    public List<Menu> getNavs() {
        return menus;
    }

}
